﻿<UserControl x:Class="MojMovieDetails.MovieDetails"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="400" d:DesignWidth="600">

    <Grid x:Name="_Grid">
        <TabControl Margin="5,5,5,10" x:Name="_tabControl">
            <TabItem Header="Details" x:Name="_tabDetails">
                <Grid x:Name="_Grid_Details" Margin="5">
                    <Label Content="Title: " HorizontalContentAlignment="Right" x:Name="_lbl_details_title" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,10,0,0" Width="90"/>
                    <TextBox x:Name="_txt_details_title" VerticalAlignment="Top" Height="26" Margin="105,10,10,0" />
                    <Label Content="Original: " HorizontalContentAlignment="Right" x:Name="_lbl_details_origin" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,41,0,0" Width="90"/>
                    <TextBox x:Name="_txt_details_origin" VerticalAlignment="Top" Height="26" Margin="105,41,145,0" />
                    <Label Content="Year: " HorizontalContentAlignment="Right" x:Name="_lbl_details_year" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,41,90,0" Width="55"/>
                    <TextBox x:Name="_txt_details_year" VerticalAlignment="Top" Height="26" Margin="0,41,10,0" HorizontalAlignment="Right" Width="75" />
                    <Label Content="Tagline: " Margin="10,72,0,0" HorizontalContentAlignment="Right" x:Name="_lbl_details_tagline" HorizontalAlignment="Left" VerticalAlignment="Top"  Width="90"/>
                    <TextBox x:Name="_txt_details_tagline" VerticalAlignment="Top" Height="26" Margin="105,72,10,0" />
                    <Label Content="Director: " Margin="10,103,0,0" HorizontalContentAlignment="Right" x:Name="_lbl_details_director" HorizontalAlignment="Left" VerticalAlignment="Top"  Width="90"/>
                    <TextBox x:Name="_txt_details_director" VerticalAlignment="Top" Height="26" Margin="105,103,10,0" />
                    <Label Content="Writer: " Margin="10,134,0,0" HorizontalContentAlignment="Right" x:Name="_lbl_details_writer" HorizontalAlignment="Left" VerticalAlignment="Top"  Width="90"/>
                    <TextBox x:Name="_txt_details_writer" VerticalAlignment="Top" Height="26" Margin="105,134,10,0" />
                    <Label Content="Genres: " Margin="10,165,0,0" HorizontalContentAlignment="Right" x:Name="_lbl_details_genre" HorizontalAlignment="Left" VerticalAlignment="Top"  Width="90"/>
                    <ListBox x:Name="_listBox_details_genres" Width="143" Margin="105,165,0,0" HorizontalAlignment="Left" Height="148" VerticalAlignment="Top"/>
                    <Label Content="Cast: " Margin="253,165,0,0" HorizontalContentAlignment="Right" x:Name="_lbl_details_cast" HorizontalAlignment="Left" VerticalAlignment="Top"  Width="90"/>
                    <ListBox x:Name="_listBox_details_cast" Width="143" Margin="348,165,0,0" HorizontalAlignment="Left" Height="148" VerticalAlignment="Top"/>
                </Grid>
            </TabItem>
            <TabItem Header="Files" x:Name="_tabFiles">
                <Grid x:Name="_Grid_Files">
                    <ListView x:Name="_listView_Files" Margin="10,35,10,60"/>
                    <Button x:Name="_btn_files_add" Content="Add" Height="20" Width="100" 
                            Margin="10,10,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                    <Button x:Name="_btn_files_remove" Content="Remove" Height="20" Width="100" 
                            Margin="115,10,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                    
                    <Button x:Name="_btn_files_fileIndex" Content="1" Height="20" Width="50"
                            Margin="10,0,0,35" VerticalAlignment="Bottom" HorizontalAlignment="Left"/>
                    <Label x:Name="_lbl_files_movieOriginalName" Content="Release: " Height="20" Width="80"
                           Margin="65, 0, 0, 35" VerticalAlignment="Bottom" HorizontalAlignment="Left"  Padding="-1"
                           HorizontalContentAlignment="Right" />
                    <TextBox x:Name="_txtBox_files_movieOriginalName" Text="" Height="20" Padding="-1"
                             Margin="150,0,10,35" VerticalAlignment="Bottom" IsReadOnly="True" />
                    
                    <Label x:Name="_lbl_files_moviePath" Content="Path: " Height="20" Width="80" Padding="-1"
                           Margin="10,0,0,10" VerticalAlignment="Bottom" HorizontalAlignment="Left"
                           HorizontalContentAlignment="Right" />
                    <TextBox x:Name="_txtBox_files_moviePath" Text="" Height="20" Padding="-1" Margin="95,0,10,10"
                             IsReadOnly="True" VerticalAlignment="Bottom"/>
                </Grid>
            </TabItem>
            <TabItem Header="Subtitles" x:Name="_tabSubtitles">
                <Grid x:Name="_Grid_Subtitles">
                    <ListView x:Name="_listView_subtitles" Margin="10,35,10,60"/>
                    <Button x:Name="_btn_subs_add" Content="Add" Height="20" Width="100" 
                            Margin="10,10,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                    <Button x:Name="_btn_subs_remove" Content="Remove" Height="20" Width="100" 
                            Margin="115,10,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>

                    <Button x:Name="_btn_subs_fileIndex" Content="1" Height="20" Width="50"
                            Margin="10,0,0,35" VerticalAlignment="Bottom" HorizontalAlignment="Left"/>
                    <Button x:Name="_btn_subs_language" Content="language" Height="20" Width="200"
                            Margin="65,0,0,35" VerticalAlignment="Bottom" HorizontalAlignment="Left"/>

                    <Label x:Name="_lbl_subs_moviePath" Content="Path: " Height="20" Width="50" Padding="-1"
                           Margin="10,0,0,10" VerticalAlignment="Bottom" HorizontalAlignment="Left"
                           HorizontalContentAlignment="Right" />
                    <TextBox x:Name="_txtBox_subs_moviePath" Text="" Height="20" Padding="-1" Margin="65,0,10,10"
                             IsReadOnly="True" VerticalAlignment="Bottom"/>
                </Grid>
            </TabItem>
            <TabItem Header="Images" x:Name="_tabImages">
                <Grid x:Name="_Grid_Images">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*" />
                        <ColumnDefinition Width="3*" />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="2*" />
                        <RowDefinition Height="1*" />
                    </Grid.RowDefinitions>
                    
                    <Image Margin="10,10,10,10" x:Name="_img_imgs_Cover"/>
                    <Button x:Name="_btn_imgs_selectCover" Height="20" Content="Select Cover"
                            Margin="10,10,10,0" VerticalAlignment="Top" Grid.Row="2"/>
                    
                    <Image Margin="10,10,10,10" x:Name="_img_imgs_backdrop" Grid.Column="2" Stretch="Fill"/>
                    <Button x:Name="_btn_imgs_selectBackdrop" Height="20" Content="Select BackDrop" Grid.Row="2" Grid.Column="2"
                            Width="120" Margin="10,10,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</UserControl>
